﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Table_Dal
{
    public class DeThi_GiaiThuatTbl
    {
        public DeThi_GiaiThuatTbl() {
            lstCauHoi = new List<CauHoi_GiaiThuatTbl>();
        }
        public DeThi_GiaiThuatTbl(string Madethi, string tendethi, int socauhoi, int thoigian, double Dothichnghi)
        {
            lstCauHoi = new List<CauHoi_GiaiThuatTbl>();
            this.MADETHI = Madethi;
            this.TENDETHI = tendethi;
            this.SOCAUHOI = socauhoi;
            this.THOIGIAN = thoigian;
            this.DoThichNghi = Dothichnghi;
        }
        public DeThi_GiaiThuatTbl(string Madethi, string tendethi, int socauhoi, List<CauHoi_GiaiThuatTbl> lst)
        {
            lstCauHoi = new List<CauHoi_GiaiThuatTbl>();
            lstCauHoi = lst;
            this.MADETHI = Madethi;
            this.TENDETHI = tendethi;
            this.SOCAUHOI = socauhoi;
        }
        public DeThi_GiaiThuatTbl(string Madethi, string tendethi, int socauhoi, int thoigian,  double Dothichnghi,List<CauHoi_GiaiThuatTbl> lst)
        {
            lstCauHoi = new List<CauHoi_GiaiThuatTbl>();
            lstCauHoi = lst;
            this.MADETHI = Madethi;
            this.TENDETHI = tendethi;
            this.SOCAUHOI = socauhoi;
            this.THOIGIAN = thoigian;
            this.DoThichNghi = Dothichnghi;
        }
        public List<CauHoi_GiaiThuatTbl> lstCauHoi;
        
        
        private string _MADETHI;

        public string MADETHI
        {
            get { return _MADETHI; }
            set { _MADETHI = value; }
        }
        private string _TENDETHI;

        public string TENDETHI
        {
            get { return _TENDETHI; }
            set { _TENDETHI = value; }
        }
        private int _SOCAUHOI;


        public int SOCAUHOI
        {
            get { return _SOCAUHOI; }
            set { _SOCAUHOI = value; }
        }
        private int _THOIGIAN;


        public int THOIGIAN
        {
            get { return _THOIGIAN; }
            set { _THOIGIAN = value; }
        }
        private double _DoThichNghi;

        public double DoThichNghi
        {
            get { return _DoThichNghi; }
            set { _DoThichNghi = value; }
        }
    }
}
